import { createApp } from 'vue'
import App from './App.vue' 
import './style.css'
import router from "./router/index"
import NavHeader from "./components/nav/index.vue"
import BackTop from "./components/backTop/index.vue" 
import store from "./store/index"
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
// import IO from "./IO/io"
const app = createApp(App)

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
// app.use(IO, {
//   connection:"http://127.0.0.1:7001"
// })
app.component("NavHeader", NavHeader)
app.component("BackTop", BackTop)
app.use(store)
app.use(router)
app.mount('#app')


